/**
 * 
 * @param str
 */
function frameLoaded(frmID) {
  alert('iframe loaded:'+frmID);
  console.log('firame loaded:'+frmID)
  if (frmID != null) {
	  var frm = window.top.document.getElementById(frmID); //window.top.frames[frmID];
	  if (frm != null) {
		  alert('found');
		  var objToResize = frm.style ? frm.style : frm;
		  objToResize.width = 50+'px';
	  	  objToResize.height = 50 + 'px';
	  }
  }  
}

